package com.cskaoyan.service;


import com.cskaoyan.bean.GrouponRules;
import com.cskaoyan.bean.vo.AdminAdForListDataBean;
import com.cskaoyan.bean.vo.AdminGrouponForListRecordVo;

public interface AdminGrouponService {
    AdminAdForListDataBean<GrouponRules> queryGrouponRules(Integer page, Integer limit, String sort, String order, Integer goodsId);

    Integer addGrouponRules(GrouponRules rules);

    Integer updateGrouponRules(GrouponRules rules);

    Integer deleteGrouponRules(GrouponRules rules);

    AdminAdForListDataBean<AdminGrouponForListRecordVo> listRecord(Integer page, Integer limit, String sort, String order, Integer goodsId);

}
